Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][KERNEL][VARIANT] Add read in delta kernel #3020

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

richardc-db
Copy link
Contributor

@richardc-db richardc-db commented May 2, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Adds variant read support and support to make reading variant columns convenient by allowing connectors to read variant column vectors as structs and handling converting the struct column vectors to variant column vectors within the kernel

This is done by introducing a "variant_coalesce" engine function that is used to transform scanned struct column vectors to variant column vectors. When shredding is implemented, "variant_coalesce" can be extended to rebuild shredded variants.

This PR also does the following

  • Cross compiles kernel defaults with Spark 3.5 and Spark 4.0. This is done so the tests can write variants using spark 4.0.
  • Allows compilation on Java 8 and Java 17 for the above.

How was this patch tested?

Added UTs

Does this PR introduce any user-facing changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant